93a9785c12a3a0ac05a1d8425934d3a21909efab,jsf-spring-boot-integration/src/test/java/com/github/persapiens/jsfboot/security/AuthorizeFaceletsTagIT.java,AuthorizeFaceletsTagIT,testIfAllGrantedWithOneRole,#,17

Before Change


	public void testIfAllGrantedWithOneRole() {
		AuthorizeFaceletsTag tag = new AuthorizeFaceletsTag();
		tag.setIfAllGranted(Roles.ROLE_A);
		assertThat("hasRole('ROLE_A')")
            .isEqualTo(tag.getAccess());
	}

	public void testIfAllGrantedWithMultipleRoles() {

After Change


	public void testIfAllGrantedEmpty() {
		AuthorizeFaceletsTag tag = new AuthorizeFaceletsTag();
		tag.setIfAllGranted("");
		assertThat(tag.getAccess())
            .isNull();
	}

	public void testIfAnyGrantedEmpty() {